import React, { Component } from 'react'

import { Layout } from 'antd'

import MyFooter from '@component/MyFooter'
import Logo from '../Logo'
import RegisterForm from './RegisterForm'

import {logoUrl} from '@config/url'

import style from './index.module.css'

const { Content } = Layout

export default class Register extends Component {
  render() {
    return (
      <Layout style={{height:'100vh'}}>
        <Content className={style["content"]}>
          <Logo url={logoUrl}/>
          <RegisterForm to="/user/login"/>
        </Content>
        <MyFooter/>
      </Layout>
    )
  }
}
